package org.smarthings.things.commons;

import java.util.List;

//TODO improve : add checks if there is next, previous pages!
//TODO improve : maybe implement on top of standard iterator!
//FIXME improve: currently null indicates end of pages per direction!

public interface Paginator<E> {

	List<E> next();

	List<E> previous();

	List<E> first();

	List<E> last();

}
